<?php
require dirname(__FILE__).'/../../ConfigParser.php';
function __autoload($class_name)
{
	require ConfigParser::get('path','class_file_map[\''.$class_name.'\']');
}

$tmp = explode('/', $_SERVER['REQUEST_URI']);

if(empty($tmp[1]))
{
	$a = 'login';
}
else
{
	$a = $tmp[1];
}

$c = 'AccountController';
$controller = new $c();
$a = Common::firstToLower(Common::underlineToHump($a)) . 'Action';
$controller->$a();print_r($_COOKIE);
?>